package com.bootdo.sell.domain;

import java.io.Serializable;
import java.util.Date;



/**
 * 订单关联表
 * 
 * @author mp
 * @email 1992lcg@163.com
 * @date 2020-03-02 09:22:07
 */
public class OpDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//订单id
	private Integer oid;
	//商品id
	private Integer pid;
	//数量
	private Integer quantityofcommodity;
	//商品单位
	private Integer punit;
	//商品折扣
	private Integer merchandisediscount;
	//折后单价
	private Double finalprice;
	//金额(元)
	private Double totalprices;
	//零售价金额(元)
	private Double retailprice;
	//批发价金额(元)
	private Double wholesaleprice;
	//重量
	private Integer pweight;

	/**
	 * 设置：订单id
	 */
	public void setOid(Integer oid) {
		this.oid = oid;
	}
	/**
	 * 获取：订单id
	 */
	public Integer getOid() {
		return oid;
	}
	/**
	 * 设置：商品id
	 */
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	/**
	 * 获取：商品id
	 */
	public Integer getPid() {
		return pid;
	}
	/**
	 * 设置：数量
	 */
	public void setQuantityofcommodity(Integer quantityofcommodity) {
		this.quantityofcommodity = quantityofcommodity;
	}
	/**
	 * 获取：数量
	 */
	public Integer getQuantityofcommodity() {
		return quantityofcommodity;
	}
	/**
	 * 设置：商品单位
	 */
	public void setPunit(Integer punit) {
		this.punit = punit;
	}
	/**
	 * 获取：商品单位
	 */
	public Integer getPunit() {
		return punit;
	}
	/**
	 * 设置：商品折扣
	 */
	public void setMerchandisediscount(Integer merchandisediscount) {
		this.merchandisediscount = merchandisediscount;
	}
	/**
	 * 获取：商品折扣
	 */
	public Integer getMerchandisediscount() {
		return merchandisediscount;
	}
	/**
	 * 设置：折后单价
	 */
	public void setFinalprice(Double finalprice) {
		this.finalprice = finalprice;
	}
	/**
	 * 获取：折后单价
	 */
	public Double getFinalprice() {
		return finalprice;
	}
	/**
	 * 设置：金额(元)
	 */
	public void setTotalprices(Double totalprices) {
		this.totalprices = totalprices;
	}
	/**
	 * 获取：金额(元)
	 */
	public Double getTotalprices() {
		return totalprices;
	}
	/**
	 * 设置：零售价金额(元)
	 */
	public void setRetailprice(Double retailprice) {
		this.retailprice = retailprice;
	}
	/**
	 * 获取：零售价金额(元)
	 */
	public Double getRetailprice() {
		return retailprice;
	}
	/**
	 * 设置：批发价金额(元)
	 */
	public void setWholesaleprice(Double wholesaleprice) {
		this.wholesaleprice = wholesaleprice;
	}
	/**
	 * 获取：批发价金额(元)
	 */
	public Double getWholesaleprice() {
		return wholesaleprice;
	}
	/**
	 * 设置：重量
	 */
	public void setPweight(Integer pweight) {
		this.pweight = pweight;
	}
	/**
	 * 获取：重量
	 */
	public Integer getPweight() {
		return pweight;
	}
}
